import Vue from 'vue'
import store from '../../store'
import XThirdLogin from '../../x/XThirdLogin'
import xurl from '../../x/xurl'


export default {
    /**
     * 刷新分享者信息
     */
    refreshRecommender(to) {
        let identityType = to.query.identityType;
        let identityKey = to.query.identityKey;
        if (!!identityType && !!identityKey) {
            let identityInfo = {
                identityType: identityType,
                identityKey: identityKey
            }
            window.sessionStorage.setItem(Vue.prototype.IDENTITYINFO, window.encodeURIComponent(JSON.stringify(identityInfo)))
        }
    },

    /**
     *  UrlAddIdentityParamsInterceptor url添加参数
     */
}
